package com.k7.mobile.platform.bo;
import java.util.List;

import com.k7.mobile.platform.dataobject.BanIpDO;
import com.k7.mobile.platform.exception.BOException;


public interface IBanIpBO {
	/**
	 * 添加禁止ip
	 * @param barDO
	 * @throws BOException
	 */
	public Long add(BanIpDO banIpDO) throws BOException;
	
	/**
	 * 删除禁止ip
	 * @param barDO
	 * @throws BOException
	 */
	public void delete(BanIpDO banIpDO) throws BOException;
	
	/**
	 * 单个获取ip信息
	 * @param ids
	 * @return
	 * @throws BOException
	 */
	
	public BanIpDO getBanIp(BanIpDO banIpDO) throws BOException;
	
	/**
	 * 批量获取ip信息
	 * @param ids
	 * @return
	 * @throws BOException
	 */
	
	public List<BanIpDO> findList(BanIpDO banIpDO) throws BOException;
}
